package com.xian.ucenter.service;

import com.xian.ucenter.entities.Tag;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xian.ucenter.entities.vo.TagNames;

import java.util.List;

/**
 * <p>
 * 标签管理表 服务类
 * </p>
 *
 * @author xian
 * @since 2022/07/23 02:59
 */
public interface TagService extends IService<Tag> {

    Long queryPostCountByTagId(String id);

    List<TagNames> getTagList();

    List<String> getTagIdsByPostId(String id);

    List<String> getTagNamesByPostId(String id);

    List<Tag> getTagByPostId(String id);
}
